package com.bgrc.hubu12305.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bgrc.hubu12305.entity.TrainInfoEntity;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;

/**
 * 包名:com.bgrc.hubu12305.dao
 * 用户:86182
 * 时间:20211217:302021/12/15
 */
@Mapper
public interface TrainDao extends BaseMapper<TrainInfoEntity> {
    /**
     * 得到车次运行总时间
     * */
    Integer getRunningTime(String trainNumber);

    Integer isExist(String trainNo);

}
